package day20171018;

/**
 * Created by Administrator on 2017-10-18.
 */
public class Test {

    public static void main(String[] args) {


//
//        int     a;
//        a = 10;
//
//        Book    javaBook = new Book();
//        javaBook.bookName = "java";
//        javaBook.author = "chen";
//        javaBook.price = 30.8;
//        javaBook.getSales();
//
//
//
//        Book englishBook = new Book();
//        englishBook.bookName = "english book";
//        englishBook.author = "";
//        englishBook.price = 10.0;


//
//        Circle c1 = new Circle();
//        c1.raduis = 1.0;
//
//
//        c1.area();
//        c1.perimeter();






//        Person chen = new Person();
//        chen.name = "chengongsuo";
//        chen.eat();
//


        Student chen = new Student();
        chen.name = "chengongsuo";
        chen.age = 20;

        chen.eat();

    }
}
